﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class ESkillType extends Object
    {
        public var __value:int;
        public static const _ESkillTypeDirectDamage:int = 1;
        public static const _ESkillTypeCombo:int = 2;
        public static const _ESkillTypeSplitDamage:int = 3;
        public static const _ESkillTypeCure:int = 4;
        public static const _ESkillTypeRecoverBlue:int = 5;
        public static const _ESkillTypeSuckBlood:int = 6;
        public static const _ESkillTypeSuckBlue:int = 7;
        public static const _ESkillTypeBurnBlue:int = 8;
        public static const _ESkillTypeBeatBack:int = 9;
        public static const _ESkillTypeRushForward:int = 10;
        public static const _ESkillTypePull:int = 11;
        public static const _ESkillTypeTransfer:int = 12;
        public static const _ESkillTypeAddBuff:int = 13;
        public static const _ESkillTypeSelfDestruction:int = 14;
        public static const _ESkillTypeSelfRelive:int = 15;
        public static const _ESkillTypeSnipe:int = 16;
        public static const _ESkillTypeRemoveSelfException:int = 17;
        public static const _ESkillTypeDispel:int = 18;
        public static const _ESkillTypeSummonByPlan:int = 19;
        public static const _ESkillTypeRelive:int = 20;
        public static const _ESkillTypeCopyBody:int = 21;
        public static const _ESkillTypeChangeBody:int = 22;
        public static const _ESkillTypeBanSkill:int = 23;
        public static const _ESkillTypeTrap:int = 24;
        public static const _ESkillTypeHalo:int = 25;
        public static const _ESkillTypeBlackCurtain:int = 26;
        public static const _ESkillTypeCareerFeature:int = 27;
        public static const _ESkillTypeBaseAttack:int = 28;
        public static const _ESkillTypeStateSwitch:int = 29;
        public static const _ESkillTypeAvgLife:int = 30;
        public static const _ESkillTypeSummonBoss:int = 31;
        public static const _ESkillTypeChainDamage:int = 32;
        public static const _ESkillTypeUnion:int = 33;
        public static const _ESkillTypeCouple:int = 34;
        public static const _ESkillTypeChaosAttack:int = 35;
        public static const _ESKillTypeJumpCut:int = 36;
        public static const _ESKillTypeMagicShield:int = 37;
        public static const _ESKillTypeTornado:int = 38;
        public static const _ESKillTypeRangeCastSkill:int = 39;
        public static const _ESKillTypeBossSplite:int = 40;
        public static const _ESKillTypeDistDamage:int = 41;
        public static const _ESkillTypeSuckBloodToMaster:int = 42;
        public static const _ESkillTypeCheatDeath:int = 80;
        public static const _ESKillTypeJump:int = 96;
        public static const _ESKillTypeSummonPet:int = 99;
        public static const _ESKillTypeDig:int = 100;
        public static const _ESKillTypeGuild:int = 101;
        public static const _ESKillTypeMapTreasureDig:int = 102;

        public function ESkillType(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : ESkillType
        {
            return new ESkillType(param1);
        }// end function

        public static function __read(param1:SerializeStream) : ESkillType
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 103)
            {
                throw new MarshalException();
            }
            return ESkillType.convert(_loc_2);
        }// end function

    }
}
